<?php
class Internal_Keys
{    
    public static function init($keys)
    {
        Zend_Registry::set('Key_Lib', $keys);
    }
    
    public static function hasKey($key)
    {
        $keys = Zend_Registry::get('Key_Lib');
        
        return isset($keys[$key]);
    }
    
    public function get($key)
    {
        $keys = Zend_Registry::get('Key_Lib');
        
        return (isset($keys[$key])) ? $keys[$key] : null;
    }
}
